import { Post } from "@/utils/http";
import type { ApiResponse } from "axios";



export function getVeriCode<T>(payload:{phoneNumber: string}, config: {opName:string}): ApiResponse<T> {
  return Post<T>("/auth/getVeriCode", payload, config);
}

export const authApi = {
  getVeriCode,
};

